
package com.ruoyi.market.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;

/**
 * 店铺消息配置对象 configMessage
 *
 * @author ruoyi
 */
public class ConfigMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /* 店铺ID */
    private String shopId;

    // 微信公众号订单支付成功通知ID
    private String wxOaPaySuccessId;

    // 微信公众号新订单待受理通知ID
    private String wxOaOrderNewId;

    // 微信公众号订单已开始通知ID
    private String wxOaOrderStartId;

    // 微信公众号订单完成通知ID
    private String wxOaOrderFinishId;

    // 微信公众号订单已超时通知ID
    private String wxOaOrderOvertimeId;

    // 微信公众号订单已取消通知ID
    private String wxOaOrderCancelId;

    // 微信公众号服务人员入驻申请审批通知
    private String wxOaApplyId;

    // 微信公众号客户打赏通知
    private String wxOaRewardId;

    public ConfigMessage() {

    }

    public ConfigMessage(String shopId) {
        this.shopId = shopId;
    }

    @NotBlank(message = "店铺ID不能为空")
    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getWxOaPaySuccessId() {
        return wxOaPaySuccessId;
    }

    public void setWxOaPaySuccessId(String wxOaPaySuccessId) {
        this.wxOaPaySuccessId = wxOaPaySuccessId;
    }

    public String getWxOaOrderNewId() {
        return wxOaOrderNewId;
    }

    public void setWxOaOrderNewId(String wxOaOrderNewId) {
        this.wxOaOrderNewId = wxOaOrderNewId;
    }

    public String getWxOaOrderStartId() {
        return wxOaOrderStartId;
    }

    public void setWxOaOrderStartId(String wxOaOrderStartId) {
        this.wxOaOrderStartId = wxOaOrderStartId;
    }

    public String getWxOaOrderFinishId() {
        return wxOaOrderFinishId;
    }

    public void setWxOaOrderFinishId(String wxOaOrderFinishId) {
        this.wxOaOrderFinishId = wxOaOrderFinishId;
    }

    public String getWxOaOrderOvertimeId() {
        return wxOaOrderOvertimeId;
    }

    public void setWxOaOrderOvertimeId(String wxOaOrderOvertimeId) { this.wxOaOrderOvertimeId = wxOaOrderOvertimeId; }

    public String getWxOaOrderCancelId() {
        return wxOaOrderCancelId;
    }

    public void setWxOaOrderCancelId(String wxOaOrderCancelId) { this.wxOaOrderCancelId = wxOaOrderCancelId; }

    public String getWxOaApplyId() {
        return wxOaApplyId;
    }

    public void setWxOaApplyId(String wxOaApplyId) { this.wxOaApplyId = wxOaApplyId; }

    public String getWxOaRewardId() {
        return wxOaRewardId;
    }

    public void setWxOaRewardId(String wxOaRewardId) { this.wxOaRewardId = wxOaRewardId; }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("shopId", getShopId())
                .append("wxOaPaySuccessId", getWxOaPaySuccessId())
                .append("wxOaOrderNewId", getWxOaOrderNewId())
                .append("wxOaOrderStartId", getWxOaOrderStartId())
                .append("wxOaOrderFinishId", getWxOaOrderFinishId())
                .append("wxOaOrderOvertimeId", getWxOaOrderOvertimeId())
                .append("wxOaOrderCancelId", getWxOaOrderCancelId())
                .append("wxOaApplyId", getWxOaApplyId())
                .append("wxOaRewardId", getWxOaRewardId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
